package com.wangzaiplus.test.designpattern.factory;

/**
 * @ClassName ConcreteFactory
 * @Description: TODO
 * @Author wgc
 * @Date 2020/06/17 10:39
 * @Version V1.0
 **/
public class ConcreteFactory2 implements AbstracFactory {
    @Override
    public Product newProduct() {
        System.out.println("具体工厂2生成-->具体产品2...");
        return new ConcreteProduct2();
    }
}
